package spaces;

public class NodeSpace implements Space{
	
	protected int dims;
	private Iterable<Node> nodes;
	
	public NodeSpace(){}
	
	public NodeSpace(int dims){
		this.dims = dims;
	}
	
	public NodeSpace(int dims, Iterable<Node> nodes){
		this.dims = dims;
		this.nodes = nodes;
	}
	
	@Override
	public int getDOF() {
		return getDims();
	}

	public int getDims() {
		return dims;
	}

	public Iterable<Node> getNodes() {
		return nodes;
	}
}
